package com.luo.wheresmytakeaway.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {
    // 订单

    private Integer id;
    // 订单编号
    private String orderNo;
    // 用户id
    private Integer userId;
    // 商家id
    private Integer merchantId;
    // 商品id
    private Double totalAmount;
    // 订单状态
    private Integer status;
    // 订单创建时间
    private LocalDateTime createTime;
    // 订单更新时间
    private LocalDateTime updateTime;
}
